.mainslider {
    html,
    body,
    .carousel,
    .carousel-inner,
    .carousel-item {
        width: 100%;
        height: 650px;
    }
    .carousel {
        top: 0;
        left: 0;
    }
    .carousel-fade {
        .carousel-item {
            display: block;
            position: absolute;
            opacity: 0;
            transition: opacity .75s ease-in-out;
            &.active {
                opacity: 1;
            }
        }
    }
    .slider1,
    .slider2,
    .slider3 {
        width: 100%;
        height: 100%;
        position: absolute;
        background-position: center;
        background-repeat: no-repeat;
    }
    .slider1 {
        background-image: url(../images/slider/HeaderBanner.jpg);
    }
    .relcontainer {
        position: relative;
        bottom: 40px;
        height: 650px;
    }
    .carousel-indicators {
        position: absolute;
        margin-left: 0px;
        margin-right: 0px;
        justify-content: left;
        left: 10px;
        right: auto!important;
    }
    .carousel-indicators li {
        display: block;
        flex: none;
        float: left;
        width: 40px !important;
        max-width: none !important;
        height: 4px;
        border-radius: 3px !important;
    }
    .carousel-inner {
        .centerbox {
            z-index: 999;
            position: relative;
            width: 100%;
            height: 100%;
            top: 0px;
            left: 0;
        }
        .bg {
            width: 360px;
            height: 260px;
            background-color: #253544;
            opacity: 0;
            position: absolute;
            top: 110px;
            left: 190px;
            border-radius: 4px;
        }
        .title {
            position: absolute;
            top: 160px;
            opacity: 0;
            left: 205px;
            border-bottom: 1px solid #cc0033;
            color: #cc0033;
            font-size: 18px;
        }
        .con {
            position: absolute;
            top: 200px;
            opacity: 0;
            left: 205px;
            font-size: 13px;
            width: 330px;
            color: #fff;
        }
        .btn {
            position: absolute;
            top: 310px;
            left: 205px;
            opacity: 0;
            width: 120px;
            text-align: center;
            padding: 10px 0;
            color: #fff;
            background-color: #cc0033;
        }
        .qualogo {
            position: absolute;
            right: -30px;
            bottom: 20px;
            img {
                opacity: 0;
            }
        }
    }
}


/*Small devices (landscape phones, 0px to 576px and up)*/

@include media-breakpoint-between(xs, md) {
    .mainslider {
        max-height: 500px!important;
        .carousel {
            height: 400px;
        }
        .relcontainer {
            min-height: 500px;
        }
        .slider1 {
            background-position: 85% -300px !important;
        }
        .slider2 {
            background-position: -400px -160px !important;
        }
        .slider3 {
            background-position: 0px -320px !important;
        }
        .carousel-inner {
            .bg {
                width: 100%;
                top: 50px;
                left: 0;
            }
            .title {
                top: 100px;
                left: 5%;
            }
            .con {
                top: 140px;
                left: 5%;
                width: 90%;
            }
            .btn {
                top: 250px;
                left: 5%;
            }
        }
    }
}